/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yinsh
 * Date: 2025-03-11
 * Time: 21:13
 */
public class ThreadDemo2 {
    public static void main(String[] args) {
        Thread  t = new Thread(new MyThread1());
        t.start();
    }
}

class MyThread1 implements Runnable {
    @Override
    public void run() {
        System.out.println("run接口实现的线程");
    }
}
